import * as ActionTypes from './ActionTypes'
export default (state={},action)=>{
    switch(action.type){
        case ActionTypes.ACE_A:
            return { ...state,
                action:{
                    type:action.type,
                    text:action.text,
                    id:action.id
                }
            }
            default:
                return state;
    }
}


